package com.base.logistics.jdl.bean.trace;

import java.io.Serializable;

/**
 * <pre>
 * 物流轨迹（给消费者）对象
 * </pre>
 * @since 2021-02-19
 */
public class ExtTraceDTO  implements Serializable {

    private String waybillCode;

    private String operateDesc;

    private String operateMessage;

    private String operateName;

    private Long operateTime;

    private Integer operateSiteId;

    private Integer state;

    private Integer signType;

    public ExtTraceDTO() {
    }

    public String getWaybillCode() {
        return this.waybillCode;
    }

    public String getOperateDesc() {
        return this.operateDesc;
    }

    public String getOperateMessage() {
        return this.operateMessage;
    }

    public String getOperateName() {
        return this.operateName;
    }

    public Long getOperateTime() {
        return this.operateTime;
    }

    public Integer getOperateSiteId() {
        return this.operateSiteId;
    }

    public Integer getState() {
        return this.state;
    }

    public Integer getSignType() {
        return this.signType;
    }

    public void setWaybillCode(String waybillCode) {
        this.waybillCode = waybillCode;
    }

    public void setOperateDesc(String operateDesc) {
        this.operateDesc = operateDesc;
    }

    public void setOperateMessage(String operateMessage) {
        this.operateMessage = operateMessage;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    public void setOperateTime(Long operateTime) {
        this.operateTime = operateTime;
    }

    public void setOperateSiteId(Integer operateSiteId) {
        this.operateSiteId = operateSiteId;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public void setSignType(Integer signType) {
        this.signType = signType;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof ExtTraceDTO)) return false;
        final ExtTraceDTO other = (ExtTraceDTO) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$waybillCode = this.getWaybillCode();
        final Object other$waybillCode = other.getWaybillCode();
        if (this$waybillCode == null ? other$waybillCode != null : !this$waybillCode.equals(other$waybillCode))
            return false;
        final Object this$operateDesc = this.getOperateDesc();
        final Object other$operateDesc = other.getOperateDesc();
        if (this$operateDesc == null ? other$operateDesc != null : !this$operateDesc.equals(other$operateDesc))
            return false;
        final Object this$operateMessage = this.getOperateMessage();
        final Object other$operateMessage = other.getOperateMessage();
        if (this$operateMessage == null ? other$operateMessage != null : !this$operateMessage.equals(other$operateMessage))
            return false;
        final Object this$operateName = this.getOperateName();
        final Object other$operateName = other.getOperateName();
        if (this$operateName == null ? other$operateName != null : !this$operateName.equals(other$operateName))
            return false;
        final Object this$operateTime = this.getOperateTime();
        final Object other$operateTime = other.getOperateTime();
        if (this$operateTime == null ? other$operateTime != null : !this$operateTime.equals(other$operateTime))
            return false;
        final Object this$operateSiteId = this.getOperateSiteId();
        final Object other$operateSiteId = other.getOperateSiteId();
        if (this$operateSiteId == null ? other$operateSiteId != null : !this$operateSiteId.equals(other$operateSiteId))
            return false;
        final Object this$state = this.getState();
        final Object other$state = other.getState();
        if (this$state == null ? other$state != null : !this$state.equals(other$state)) return false;
        final Object this$signType = this.getSignType();
        final Object other$signType = other.getSignType();
        if (this$signType == null ? other$signType != null : !this$signType.equals(other$signType)) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof ExtTraceDTO;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $waybillCode = this.getWaybillCode();
        result = result * PRIME + ($waybillCode == null ? 43 : $waybillCode.hashCode());
        final Object $operateDesc = this.getOperateDesc();
        result = result * PRIME + ($operateDesc == null ? 43 : $operateDesc.hashCode());
        final Object $operateMessage = this.getOperateMessage();
        result = result * PRIME + ($operateMessage == null ? 43 : $operateMessage.hashCode());
        final Object $operateName = this.getOperateName();
        result = result * PRIME + ($operateName == null ? 43 : $operateName.hashCode());
        final Object $operateTime = this.getOperateTime();
        result = result * PRIME + ($operateTime == null ? 43 : $operateTime.hashCode());
        final Object $operateSiteId = this.getOperateSiteId();
        result = result * PRIME + ($operateSiteId == null ? 43 : $operateSiteId.hashCode());
        final Object $state = this.getState();
        result = result * PRIME + ($state == null ? 43 : $state.hashCode());
        final Object $signType = this.getSignType();
        result = result * PRIME + ($signType == null ? 43 : $signType.hashCode());
        return result;
    }

    public String toString() {
        return "ExtTraceDTO(waybillCode=" + this.getWaybillCode() + ", operateDesc=" + this.getOperateDesc() + ", operateMessage=" + this.getOperateMessage() + ", operateName=" + this.getOperateName() + ", operateTime=" + this.getOperateTime() + ", operateSiteId=" + this.getOperateSiteId() + ", state=" + this.getState() + ", signType=" + this.getSignType() + ")";
    }
}
